package cn.team11.smarteye.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;

/**
 * Created by Murphy on 2017/11/15.
 * 猫眼实体类
 */

@Entity
public class CateyeInfoBean {

    @Id(autoincrement = true)
    Long _id;
    protected String bid; //设备的id
    @Index(unique = true)
    protected String name; //设备的名称
    protected String nick;//设备的昵称
    protected String uid;//设备所属的在线用户的uid
    protected int role;// 设备类型
    protected int status;//设备状态，0-离线，1-在线
    protected String nid;//客户端自定义的标记
    protected int localupg;//
    protected int remoteupg;//

    protected int battery_level; //电量
    protected int battery_status; //电池状态
    protected int storage_total_size;//总存储空间
    protected int storage_free_size;//剩余存储空间
    protected String wifi_config; //当前连接wifi的ssid
    protected int wifi_level; //wifi信号强度
    protected int alarm_enable; //报警状态，0：关闭， 1：开启
    protected int db_light_enable;//门铃灯开启状态，0:关闭，1:开启
    protected String hw_version;//硬件版本
    protected String sw_version;//软件版本
    protected int doorbell_ring;//门铃铃声，0:铃声一，1:铃声二， 2:铃声三， 3:自定义铃声
    protected String doorbell_ring_name;//自定义门铃声名称






    @Generated(hash = 620042502)
    public CateyeInfoBean(Long _id, String bid, String name, String nick,
            String uid, int role, int status, String nid, int localupg,
            int remoteupg, int battery_level, int battery_status,
            int storage_total_size, int storage_free_size, String wifi_config,
            int wifi_level, int alarm_enable, int db_light_enable,
            String hw_version, String sw_version, int doorbell_ring,
            String doorbell_ring_name) {
        this._id = _id;
        this.bid = bid;
        this.name = name;
        this.nick = nick;
        this.uid = uid;
        this.role = role;
        this.status = status;
        this.nid = nid;
        this.localupg = localupg;
        this.remoteupg = remoteupg;
        this.battery_level = battery_level;
        this.battery_status = battery_status;
        this.storage_total_size = storage_total_size;
        this.storage_free_size = storage_free_size;
        this.wifi_config = wifi_config;
        this.wifi_level = wifi_level;
        this.alarm_enable = alarm_enable;
        this.db_light_enable = db_light_enable;
        this.hw_version = hw_version;
        this.sw_version = sw_version;
        this.doorbell_ring = doorbell_ring;
        this.doorbell_ring_name = doorbell_ring_name;
    }

    @Generated(hash = 1241825883)
    public CateyeInfoBean() {
    }






    public Long get_id() {
        return _id;
    }

    public void set_id(Long _id) {
        this._id = _id;
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getNid() {
        return nid;
    }

    public void setNid(String nid) {
        this.nid = nid;
    }

    public int getLocalupg() {
        return localupg;
    }

    public void setLocalupg(int localupg) {
        this.localupg = localupg;
    }

    public int getRemoteupg() {
        return remoteupg;
    }

    public void setRemoteupg(int remoteupg) {
        this.remoteupg = remoteupg;
    }

    public int getBattery_level() {
        return battery_level;
    }

    public void setBattery_level(int battery_level) {
        this.battery_level = battery_level;
    }

    public int getBattery_status() {
        return battery_status;
    }

    public void setBattery_status(int battery_status) {
        this.battery_status = battery_status;
    }

    public int getStorage_total_size() {
        return storage_total_size;
    }

    public void setStorage_total_size(int storage_total_size) {
        this.storage_total_size = storage_total_size;
    }

    public int getStorage_free_size() {
        return storage_free_size;
    }

    public void setStorage_free_size(int storage_free_size) {
        this.storage_free_size = storage_free_size;
    }

    public String getWifi_config() {
        return wifi_config;
    }

    public void setWifi_config(String wifi_config) {
        this.wifi_config = wifi_config;
    }

    public int getWifi_level() {
        return wifi_level;
    }

    public void setWifi_level(int wifi_level) {
        this.wifi_level = wifi_level;
    }

    public int getAlarm_enable() {
        return alarm_enable;
    }

    public void setAlarm_enable(int alarm_enable) {
        this.alarm_enable = alarm_enable;
    }

    public int getDb_light_enable() {
        return db_light_enable;
    }

    public void setDb_light_enable(int db_light_enable) {
        this.db_light_enable = db_light_enable;
    }

    public String getHw_version() {
        return hw_version;
    }

    public void setHw_version(String hw_version) {
        this.hw_version = hw_version;
    }

    public String getSw_version() {
        return sw_version;
    }

    public void setSw_version(String sw_version) {
        this.sw_version = sw_version;
    }

    public int getDoorbell_ring() {
        return doorbell_ring;
    }

    public void setDoorbell_ring(int doorbell_ring) {
        this.doorbell_ring = doorbell_ring;
    }

    public String getDoorbell_ring_name() {
        return doorbell_ring_name;
    }



    public void setDoorbell_ring_name(String doorbell_ring_name) {
        this.doorbell_ring_name = doorbell_ring_name;
    }
}
